Cursor — Design Reference
warm paper quiet for working software
Source: https://cursor.com
Theme: light
Category: Developer Tools
Mood: light, minimal, warm, editorial, technical, calm
Captured: 2026-11-28
Overview
A calm, off-white editorial surface that behaves like a well-set print page rather than a SaaS landing. Everything is low-contrast warm greys — paper #f7f7f4, panels #f2f1ed, ink #26251e — so the only hard black on screen is the primary pill button and the product screenshots, which float on landscape-painting backdrops under deep, soft shadows. Headlines are modest (26–36px) rather than hero-sized, letting the UI captures carry the weight; the only loud colour anywhere is the orange brand accent #f54e00, used sparingly in links and status.
Technically it's one neutral grotesque (CursorGothic) at weight 400 for nearly everything, with tight negative tracking on headings (-0.02em to -0.03em) and a mono (Berkeley Mono) plus EB Garamond reserved for product-UI mock content. Shape language is split: 4px radius for cards and containers, full pills for every CTA and chip. Spacing runs on a 4px grid (8/12/16 dominate), containers cap at 1300px, and sections are separated by generous whitespace plus flat #f2f1ed panels rather than borders. Borders, when present, are a 1px inset ring at 8% ink.
Tokens — Colors
| Name |
Value |
Token |
Role |
| Paper |
#f7f7f4 |
--color-bg |
Page ground on every route; also the label colour inside the dark primary button |
| Panel Linen |
#f2f1ed |
--color-surface |
Section panels, cards, code blocks, elevated blocks — the second most dominant area on the page |
| Hover Linen |
#ebeae5 |
--color-surface-hover |
Hover state on panels and wide feature cards |
| Chip Sand |
#e6e5e0 |
--color-secondary |
Secondary/ghost pill button fill (Request a demo, Get Plus, Get started) |
| Ink |
#26251e |
--color-foreground |
All body and heading text; also the fill of the primary CTA pill and logo |
| Cursor Orange |
#f54e00 |
--color-accent |
Brand accent — inline links, 'Most popular' badge text, warning state |
| Build Amber |
#c08532 |
--color-accent-strong |
Small action chips inside product-UI mockups (Build, Continue) |
| Signal Green |
#1f8a65 |
--color-success |
Diff additions and success states in code/agent UI |
| Signal Red |
#cf2d56 |
--color-destructive |
Diff removals, error states |
| Terminal Ink |
#1c1c1c |
--color-inverse-surface |
Dark CLI window chrome and inverted screenshot panels |
| Night Ground |
#14120b |
--color-bg-dark |
Page ground in the dark colour scheme |
Semantic roles
| Role |
Value |
| background |
#f7f7f4 |
| surface |
#f2f1ed |
| surface raised |
#ebeae5 |
| border |
rgba(38,37,30,0.10) |
| text |
#26251e |
| text muted |
rgba(38,37,30,0.60) |
| primary |
#26251e |
| primary text |
#f7f7f4 |
| accent |
#f54e00 |
| success |
#1f8a65 |
| warning |
#f54e00 |
| danger |
#cf2d56 |
Tokens — Typography
- Display: CursorGothic (400, 500, 700) — fallbacks: Inter, Helvetica Neue, Arial, sans-serif. Neutral humanist grotesque used for every heading and nearly all body text; headings stay at weight 400 with negative tracking.
- Body: CursorGothic (400, 500) — fallbacks: Inter, system-ui, sans-serif. 16–17px body at 1.5 line-height with a faint +0.08px tracking; 500 only for small section labels.
- Mono: Berkeley Mono (400, 500, 700) — fallbacks: JetBrains Mono, SFMono-Regular, Menlo, monospace. Terminal and CLI content, file paths, diffs inside product mockups.
- Accent: EB Garamond (400, 500) — fallbacks: Iowan Old Style, Georgia, serif. Appears only inside the simulated 'Acme Labs' browser preview — serif editorial flavour, never in chrome.
| Role |
Size |
Line height |
Weight |
Letter spacing |
Family |
| Display |
72px |
1.1 |
400 |
-0.03em |
display |
| H1 |
52px |
1.15 |
400 |
-0.025em |
display |
| H2 |
36px |
1.2 |
400 |
-0.02em |
display |
| H3 / Hero |
26px |
1.25 |
400 |
-0.0125em |
display |
| Lead |
22px |
1.3 |
400 |
-0.005em |
display |
| Body |
16px |
1.5 |
400 |
0.005em |
body |
| Label |
17px |
1.24 |
500 |
0.005em |
body |
| Nav / Small |
14px |
1.4 |
400 |
0 |
body |
| Mono |
12px |
1.45 |
400 |
0 |
mono |
Tokens — Spacing & Layout
- Base unit: 4px
- Density: comfortable
- Container max width: 1300px
- Section gap: 112px
- Card padding: 16px
- Scale: 2px, 4px, 6px, 8px, 12px, 16px, 20px, 48px, 67px, 112px
Tokens — Radius
| Element |
Value |
| Cards, panels, screenshot frames |
4px |
| Chips, small tiles, plugin rows |
8px |
| Dropdowns / popovers |
10px |
| Search field |
100px |
| Buttons (all CTAs) |
9999px |
Tokens — Shadows
| Name |
Value |
Usage |
| hairline |
inset 0 0 0 1px rgba(0,0,0,0.08) |
Default edge on cards, outline buttons, inputs — used instead of a border property |
| float |
0 28px 70px rgba(0,0,0,0.14), 0 14px 32px rgba(0,0,0,0.10), 0 0 0 1px rgba(38,37,30,0.10) |
Large product screenshot windows lifted over the painted hero backdrop |
| popover |
0 10px 15px -3px rgba(0,0,0,0.10), 0 4px 6px -4px rgba(0,0,0,0.10) |
Menus, tooltips and floating CLI panes |
| focus-ring |
0 0 0 2px #fcfcfc, 0 0 0 4px rgba(38,37,30,0.20) |
Keyboard focus on interactive elements |
Components
Primary pill button (button)
| Property |
Value |
| background |
#26251e |
| color |
#f7f7f4 |
| border |
1px solid #26251e |
| radius |
9999px |
| padding |
12.5px 21.6px |
| font size |
16px |
| font weight |
400 |
| shadow |
none |
| hover |
background #111110; no lift, no scale |
Height 43px. Label often carries a trailing glyph (⤓ for download, → for navigate) separated by ~6px. Only one per view.
Secondary pill button (button)
| Property |
Value |
| background |
#e6e5e0 |
| color |
#26251e |
| border |
none |
| radius |
9999px |
| padding |
12.5px 21.6px |
| font size |
16px |
| font weight |
400 |
| shadow |
none |
| hover |
background #ebeae5 |
Same metrics as primary so pairs align exactly; used for 'Request a demo →', 'Get Plus', 'Get started'.
Outline nav button (button)
| Property |
Value |
| background |
transparent |
| color |
#26251e |
| border |
1px solid rgba(38,37,30,0.20) |
| radius |
9999px |
| padding |
6px 14px |
| font size |
14px |
| font weight |
400 |
| shadow |
none |
| hover |
background rgba(28,28,28,0.05) |
Used for 'Contact sales' / 'Sign in' in the header, sitting left of the solid dark 'Download' pill.
Panel card (card)
| Property |
Value |
| background |
#f2f1ed |
| color |
#26251e |
| border |
none |
| radius |
4px |
| padding |
16px |
| font size |
16px |
| font weight |
400 |
| shadow |
none |
| hover |
background #ebeae5 |
The workhorse container: testimonial cards, plugin rows, pricing columns, feature panels. Flat fill, no border, tiny 4px radius. Wide variants use #ebeae5 at 13px padding.
Pill search input (input)
| Property |
Value |
| background |
#f0efea |
| color |
#26251e |
| border |
none |
| radius |
100px |
| padding |
8px 14px |
| font size |
16px |
| font weight |
400 |
| shadow |
none |
| hover |
background #ebeae5; focus adds inset 0 0 0 1px rgba(38,37,30,0.20) |
40px tall. Placeholder in muted ink at 60%. Borderless — the fill alone defines the field.
Fixed header nav (nav)
| Property |
Value |
| background |
#f7f7f4 |
| color |
#26251e |
| border |
none |
| radius |
0px |
| padding |
0 24px |
| font size |
14px |
| font weight |
400 |
| shadow |
none |
| hover |
link colour to rgba(38,37,30,0.60) |
52px tall, position fixed, no border or blur — it simply shares the page ground. Logo left, centred link group, auth + CTA right.
Highlight badge (badge)
| Property |
Value |
| background |
color-mix(in srgb, #f54e00 10%, transparent) |
| color |
#f54e00 |
| border |
none |
| radius |
9999px |
| padding |
2px 8px |
| font size |
12px |
| font weight |
500 |
| shadow |
none |
| hover |
none |
'Most popular' marker on the pricing card; the only place the orange brand colour appears at display size.
Inline arrow link (link)
| Property |
Value |
| background |
transparent |
| color |
#f54e00 |
| border |
none |
| radius |
0px |
| padding |
0 |
| font size |
16px |
| font weight |
400 |
| shadow |
none |
| hover |
underline |
Section CTAs such as 'Learn about agentic development →' and 'Explore models ↗'; arrow glyph is part of the text.
Layout
A 1300px-max centred column on a continuous paper ground. Sections alternate between full-bleed painted/photographic hero bands and flat #f2f1ed panels with 4px corners; no dividing rules anywhere. Feature rows are two-up and asymmetric — a large product screenshot occupying ~60–70% of the row, a short text block (22px lead + 16px body + arrow link) on the opposite side, alternating sides down the page. Pricing is a four-column grid of borderless columns separated by hairlines; the marketplace uses a left sidebar of 17px nav labels against a two-column card grid. Section gaps run ~112px desktop.
Imagery
Two distinct registers. First: pixel-accurate screenshots of the Cursor desktop app and CLI, rendered as macOS windows with traffic lights, drop-shadowed and often overlapped at an angle so a dark terminal pane crosses a light editor pane. Second: soft, de-saturated landscape paintings (Turner-ish ochres, sage and grey) used as full-bleed backdrops behind those windows, giving the page its warmth. Customer logos are flat monochrome ink. No illustration, no 3D, no gradients-as-decoration.
Motion
Restrained and functional: fades and short cross-dissolves between screenshot states, subtle hover tints on cards and buttons (background step only — no lift or scale), and scroll-triggered opacity for section reveals. Durations feel in the 150–250ms range with standard easing. The product mockups animate their own content (typing, diff counts) rather than the page moving.
Responsive
Below ~900px the centred link row collapses behind a hamburger that opens a full-screen overlay on the paper ground: the five nav items set left-aligned at ~34px/1.2 display size with generous ~20px vertical rhythm, an X close top-right, and two full-width pill buttons pinned to the bottom — solid dark 'Sign up' above an outlined 'Contact sales'. The hero stacks and grows rather than shrinks: the headline jumps to ~34px, the two desktop CTAs reduce to a single full-width-ish 'Get started →' pill, and the product screenshot is left-anchored and deliberately cropped off the right edge to preserve legibility of the UI rather than scaling it down. Section padding drops to roughly half (48–56px), feature rows become single-column with the image above the copy, and pricing columns become a vertical stack of full-width cards.
Do
- Keep page ground #f7f7f4 and panels #f2f1ed — build hierarchy from warm grey steps, never from white cards on grey.
- Set all headings at weight 400 with negative tracking (-0.0125em at 26px scaling to -0.03em at 72px); let size, not weight, do the work.
- Use exactly one dark #26251e pill CTA per view, paired with a #e6e5e0 pill of identical height (43px) and padding.
- Give containers 4px corners and buttons full pills — the contrast between those two radii is the shape signature.
- Reserve #f54e00 for inline links and a single status badge; everything else stays ink and sand.
- Float product screenshots with the layered soft shadow (0 28px 70px rgba(0,0,0,0.14)) over a muted painterly backdrop.
- Render borders as inset rings — inset 0 0 0 1px rgba(0,0,0,0.08) — rather than hard border lines.
Don't
- Don't use pure #ffffff as a surface or pure #000000 as text; the warmth of #f7f7f4 / #26251e is the whole identity.
- Don't bold headings to 600/700 or add uppercase tracking to display type.
- Don't introduce gradients, glass blur or coloured glow on buttons and cards.
- Don't scale the hero headline past ~36px on the homepage — the screenshot, not the type, is the hero.
- Don't give cards large radii (12px+) or outline every panel; flat fill with 4px corners is the rule.
- Don't let the orange accent spread into button fills, large backgrounds or icon sets.
- Don't shrink mobile screenshots to fit — crop them at the viewport edge instead.
Agent prompt
Build a warm, low-contrast editorial developer-tools site: page ground #f7f7f4, panel surface #f2f1ed, hover #ebeae5, chip fill #e6e5e0, ink text #26251e with secondary text at rgba(38,37,30,0.60) and hairlines as inset 0 0 0 1px rgba(0,0,0,0.08); the only brand colour is orange #f54e00, used solely for inline arrow links ('Learn more →') and a 'Most popular' badge (10% orange tint background, 12px/500). Type everything in a neutral grotesque (CursorGothic → fallback Inter) at weight 400, with Berkeley Mono (fallback JetBrains Mono) for terminal/diff content and EB Garamond only inside simulated browser previews; scale is 72/1.1/-0.03em display, 52/1.15/-0.025em h1, 36/1.2/-0.02em h2, 26/1.25/-0.0125em hero h1, 22/1.3 lead, 16/1.5 body, 14 nav, never bolder than 500 for small labels. Layout: 1300px max width, 4px spacing base (8/12/16 most common), ~112px section gaps, fixed 52px header on the same paper ground with no border or blur — logo left, centred 14px links, then an outlined pill 'Contact sales' and a solid #26251e pill 'Download'. Buttons are full pills at 12.5px 21.6px / 16px / 43px tall: primary #26251e on #f7f7f4 text, secondary #e6e5e0 on ink; cards and screenshot frames use 4px radius, flat fill, no border, 16px padding; search inputs are borderless #f0efea pills at 100px radius, 8px 14px, 40px tall. Hero and feature rows are asymmetric two-ups where a macOS-chrome product screenshot (traffic lights, overlapping dark CLI pane) floats over a muted painterly landscape backdrop with 0 28px 70px rgba(0,0,0,0.14), 0 14px 32px rgba(0,0,0,0.10). Motion is restrained: 150–250ms fades and background-tint hovers only. On mobile, collapse nav into a full-screen paper overlay with ~34px left-aligned links and two stacked full-width pills at the bottom, stack hero and crop the screenshot off the right edge. Honour prefers-color-scheme: dark with ground #14120b, panels #1b1913, text #edecec and the primary pill inverted to #f0efea on ink.
CSS custom properties
/* Cursor — CSS custom properties. Generated from style.json */
:root {
/* Palette */
--color-bg: #f7f7f4; /* Page ground on every route; also the label colour inside the dark primary button */
--color-surface: #f2f1ed; /* Section panels, cards, code blocks, elevated blocks — the second most dominant area on the page */
--color-surface-hover: #ebeae5; /* Hover state on panels and wide feature cards */
--color-secondary: #e6e5e0; /* Secondary/ghost pill button fill (Request a demo, Get Plus, Get started) */
--color-foreground: #26251e; /* All body and heading text; also the fill of the primary CTA pill and logo */
--color-accent: #f54e00; /* Brand accent — inline links, 'Most popular' badge text, warning state */
--color-accent-strong: #c08532; /* Small action chips inside product-UI mockups (Build, Continue) */
--color-success: #1f8a65; /* Diff additions and success states in code/agent UI */
--color-destructive: #cf2d56; /* Diff removals, error states */
--color-inverse-surface: #1c1c1c; /* Dark CLI window chrome and inverted screenshot panels */
--color-bg-dark: #14120b; /* Page ground in the dark colour scheme */
/* Semantic roles */
--background: #f7f7f4;
--surface: #f2f1ed;
--surface-raised: #ebeae5;
--border: rgba(38,37,30,0.10);
--text: #26251e;
--text-muted: rgba(38,37,30,0.60);
--primary: #26251e;
--primary-text: #f7f7f4;
--accent: #f54e00;
--success: #1f8a65;
--warning: #f54e00;
--danger: #cf2d56;
/* Typography */
--font-display: CursorGothic, Inter, 'Helvetica Neue', Arial, sans-serif;
--font-body: CursorGothic, Inter, system-ui, sans-serif;
--font-mono: 'Berkeley Mono', 'JetBrains Mono', SFMono-Regular, Menlo, monospace;
--font-accent: 'EB Garamond', 'Iowan Old Style', Georgia, serif;
--text-display: 72px;
--text-display--line-height: 1.1;
--text-display--letter-spacing: -0.03em;
--text-display--font-weight: 400;
--text-h1: 52px;
--text-h1--line-height: 1.15;
--text-h1--letter-spacing: -0.025em;
--text-h1--font-weight: 400;
--text-h2: 36px;
--text-h2--line-height: 1.2;
--text-h2--letter-spacing: -0.02em;
--text-h2--font-weight: 400;
--text-h3-hero: 26px;
--text-h3-hero--line-height: 1.25;
--text-h3-hero--letter-spacing: -0.0125em;
--text-h3-hero--font-weight: 400;
--text-lead: 22px;
--text-lead--line-height: 1.3;
--text-lead--letter-spacing: -0.005em;
--text-lead--font-weight: 400;
--text-body: 16px;
--text-body--line-height: 1.5;
--text-body--letter-spacing: 0.005em;
--text-body--font-weight: 400;
--text-label: 17px;
--text-label--line-height: 1.24;
--text-label--letter-spacing: 0.005em;
--text-label--font-weight: 500;
--text-nav-small: 14px;
--text-nav-small--line-height: 1.4;
--text-nav-small--letter-spacing: 0;
--text-nav-small--font-weight: 400;
--text-mono: 12px;
--text-mono--line-height: 1.45;
--text-mono--letter-spacing: 0;
--text-mono--font-weight: 400;
/* Spacing */
--space-1: 2px;
--space-2: 4px;
--space-3: 6px;
--space-4: 8px;
--space-5: 12px;
--space-6: 16px;
--space-7: 20px;
--space-8: 48px;
--space-9: 67px;
--space-10: 112px;
--container: 1300px;
--section-gap: 112px;
/* Radius */
--radius-cards-panels-screenshot-frames: 4px;
--radius-chips-small-tiles-plugin-rows: 8px;
--radius-dropdowns-popovers: 10px;
--radius-search-field: 100px;
--radius-buttons-all-ctas: 9999px;
/* Shadows */
--shadow-hairline: inset 0 0 0 1px rgba(0,0,0,0.08);
--shadow-float: 0 28px 70px rgba(0,0,0,0.14), 0 14px 32px rgba(0,0,0,0.10), 0 0 0 1px rgba(38,37,30,0.10);
--shadow-popover: 0 10px 15px -3px rgba(0,0,0,0.10), 0 4px 6px -4px rgba(0,0,0,0.10);
--shadow-focus-ring: 0 0 0 2px #fcfcfc, 0 0 0 4px rgba(38,37,30,0.20);
}
Tailwind v4 theme
/* Cursor — Tailwind CSS v4 theme. Import after tailwindcss: @import "tailwindcss"; then paste this block. */
@theme {
--color-bg: #f7f7f4;
--color-surface: #f2f1ed;
--color-surface-hover: #ebeae5;
--color-secondary: #e6e5e0;
--color-foreground: #26251e;
--color-accent: #f54e00;
--color-accent-strong: #c08532;
--color-success: #1f8a65;
--color-destructive: #cf2d56;
--color-inverse-surface: #1c1c1c;
--color-bg-dark: #14120b;
--color-background: #f7f7f4;
--color-surface: #f2f1ed;
--color-surface-raised: #ebeae5;
--color-border: rgba(38,37,30,0.10);
--color-text: #26251e;
--color-text-muted: rgba(38,37,30,0.60);
--color-primary: #26251e;
--color-primary-text: #f7f7f4;
--color-accent: #f54e00;
--color-success: #1f8a65;
--color-warning: #f54e00;
--color-danger: #cf2d56;
--font-display: CursorGothic, Inter, 'Helvetica Neue', Arial, sans-serif;
--font-body: CursorGothic, Inter, system-ui, sans-serif;
--font-mono: 'Berkeley Mono', 'JetBrains Mono', SFMono-Regular, Menlo, monospace;
--font-accent: 'EB Garamond', 'Iowan Old Style', Georgia, serif;
--text-display: 72px;
--text-display--line-height: 1.1;
--text-display--letter-spacing: -0.03em;
--text-display--font-weight: 400;
--text-h1: 52px;
--text-h1--line-height: 1.15;
--text-h1--letter-spacing: -0.025em;
--text-h1--font-weight: 400;
--text-h2: 36px;
--text-h2--line-height: 1.2;
--text-h2--letter-spacing: -0.02em;
--text-h2--font-weight: 400;
--text-h3-hero: 26px;
--text-h3-hero--line-height: 1.25;
--text-h3-hero--letter-spacing: -0.0125em;
--text-h3-hero--font-weight: 400;
--text-lead: 22px;
--text-lead--line-height: 1.3;
--text-lead--letter-spacing: -0.005em;
--text-lead--font-weight: 400;
--text-body: 16px;
--text-body--line-height: 1.5;
--text-body--letter-spacing: 0.005em;
--text-body--font-weight: 400;
--text-label: 17px;
--text-label--line-height: 1.24;
--text-label--letter-spacing: 0.005em;
--text-label--font-weight: 500;
--text-nav-small: 14px;
--text-nav-small--line-height: 1.4;
--text-nav-small--letter-spacing: 0;
--text-nav-small--font-weight: 400;
--text-mono: 12px;
--text-mono--line-height: 1.45;
--text-mono--letter-spacing: 0;
--text-mono--font-weight: 400;
--radius-cards-panels-screenshot-frames: 4px;
--radius-chips-small-tiles-plugin-rows: 8px;
--radius-dropdowns-popovers: 10px;
--radius-search-field: 100px;
--radius-buttons-all-ctas: 9999px;
--shadow-hairline: inset 0 0 0 1px rgba(0,0,0,0.08);
--shadow-float: 0 28px 70px rgba(0,0,0,0.14), 0 14px 32px rgba(0,0,0,0.10), 0 0 0 1px rgba(38,37,30,0.10);
--shadow-popover: 0 10px 15px -3px rgba(0,0,0,0.10), 0 4px 6px -4px rgba(0,0,0,0.10);
--shadow-focus-ring: 0 0 0 2px #fcfcfc, 0 0 0 4px rgba(38,37,30,0.20);
--container-site: 1300px;
}
Theme tokens — light + dark
The shadcn-named layer DevDojo Sites speaks (bg-background, text-foreground, bg-primary, rounded-medium…). Paste into site.css after @import "tailwindcss" to restyle any site in this look.
/* Cursor — DevDojo theme tokens (light + dark). Generated from style.json. */
/* Drop into site.css after @import "tailwindcss": bg-background, text-foreground, bg-primary, border-border, rounded-medium… all read these. Both schemes come from the site. */
@custom-variant dark (&:where(.dark, .dark *));
:root {
color-scheme: light;
--background: #f7f7f4;
--foreground: #26251e;
--card: #f2f1ed;
--card-foreground: #26251e;
--popover: #fcfcfc; /* estimated */
--popover-foreground: #26251e;
--primary: #26251e;
--primary-foreground: #f7f7f4;
--secondary: #e6e5e0;
--secondary-foreground: #26251e;
--muted: #ebeae5;
--muted-foreground: rgba(38,37,30,0.60);
--accent: rgba(245,78,0,0.10);
--accent-foreground: #f54e00;
--destructive: #cf2d56;
--destructive-foreground: #f7f7f4; /* estimated */
--border: rgba(38,37,30,0.10);
--input: #f0efea;
--ring: rgba(38,37,30,0.20); /* estimated */
--radius-small: 4px;
--radius-medium: 8px;
--radius-large: 10px;
--radius: var(--radius-medium);
--font-display: CursorGothic, Inter, 'Helvetica Neue', Arial, sans-serif;
--font-body: CursorGothic, Inter, system-ui, sans-serif;
--font-mono: 'Berkeley Mono', 'JetBrains Mono', SFMono-Regular, Menlo, monospace;
}
.dark {
color-scheme: dark;
--background: #14120b;
--foreground: #edecec;
--card: #1b1913;
--card-foreground: #edecec;
--popover: #201e18;
--popover-foreground: #edecec;
--primary: #f0efea;
--primary-foreground: #14120b;
--secondary: #26241e;
--secondary-foreground: #edecec;
--muted: #1c1c1a;
--muted-foreground: rgba(237,236,236,0.60);
--accent: rgba(245,78,0,0.18);
--accent-foreground: #f54e00;
--destructive: #e72e3b;
--destructive-foreground: #14120b;
--border: rgba(237,236,236,0.14);
--input: #201e18;
--ring: rgba(237,236,236,0.28);
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-card: var(--card);
--color-card-foreground: var(--card-foreground);
--color-popover: var(--popover);
--color-popover-foreground: var(--popover-foreground);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-secondary: var(--secondary);
--color-secondary-foreground: var(--secondary-foreground);
--color-muted: var(--muted);
--color-muted-foreground: var(--muted-foreground);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
--color-destructive: var(--destructive);
--color-destructive-foreground: var(--destructive-foreground);
--color-border: var(--border);
--color-input: var(--input);
--color-ring: var(--ring);
--radius-small: var(--radius-small);
--radius-medium: var(--radius-medium);
--radius-large: var(--radius-large);
--font-display: var(--font-display);
--font-body: var(--font-body);
--font-mono: var(--font-mono);
}
Cursor — Style Reference
warm paper quiet for working software
Theme: light · Mood: light, minimal, warm, editorial, technical, calm
A calm, off-white editorial surface that behaves like a well-set print page rather than a SaaS landing. Everything is low-contrast warm greys — paper #f7f7f4, panels #f2f1ed, ink #26251e — so the only hard black on screen is the primary pill button and the product screenshots, which float on landscape-painting backdrops under deep, soft shadows. Headlines are modest (26–36px) rather than hero-sized, letting the UI captures carry the weight; the only loud colour anywhere is the orange brand accent #f54e00, used sparingly in links and status.
Tokens — Colors
| Name |
Value |
Token |
Role |
| Paper |
#f7f7f4 |
--bg |
Page ground on every route; also the label colour inside the dark primary button |
| Panel Linen |
#f2f1ed |
--surface |
Section panels, cards, code blocks, elevated blocks — the second most dominant area on the page |
| Hover Linen |
#ebeae5 |
--surface-hover |
Hover state on panels and wide feature cards |
| Chip Sand |
#e6e5e0 |
--secondary |
Secondary/ghost pill button fill (Request a demo, Get Plus, Get started) |
| Ink |
#26251e |
--foreground |
All body and heading text; also the fill of the primary CTA pill and logo |
| Cursor Orange |
#f54e00 |
--accent |
Brand accent — inline links, 'Most popular' badge text, warning state |
| Build Amber |
#c08532 |
--accent-strong |
Small action chips inside product-UI mockups (Build, Continue) |
| Signal Green |
#1f8a65 |
--success |
Diff additions and success states in code/agent UI |
| Signal Red |
#cf2d56 |
--destructive |
Diff removals, error states |
| Terminal Ink |
#1c1c1c |
--inverse-surface |
Dark CLI window chrome and inverted screenshot panels |
| Night Ground |
#14120b |
--bg-dark |
Page ground in the dark colour scheme |
Tokens — Typography
- Display: CursorGothic (Inter, Helvetica Neue, Arial, sans-serif) — weights 400/500/700
- Body: CursorGothic (Inter, system-ui, sans-serif) — weights 400/500
- Mono: Berkeley Mono (JetBrains Mono, SFMono-Regular, Menlo, monospace) — weights 400/500/700
- Accent: EB Garamond (Iowan Old Style, Georgia, serif) — weights 400/500
Tokens — Radius
| Element |
Value |
| Cards, panels, screenshot frames |
4px |
| Chips, small tiles, plugin rows |
8px |
| Dropdowns / popovers |
10px |
| Search field |
100px |
| Buttons (all CTAs) |
9999px |
Do
- Keep page ground #f7f7f4 and panels #f2f1ed — build hierarchy from warm grey steps, never from white cards on grey.
- Set all headings at weight 400 with negative tracking (-0.0125em at 26px scaling to -0.03em at 72px); let size, not weight, do the work.
- Use exactly one dark #26251e pill CTA per view, paired with a #e6e5e0 pill of identical height (43px) and padding.
- Give containers 4px corners and buttons full pills — the contrast between those two radii is the shape signature.
- Reserve #f54e00 for inline links and a single status badge; everything else stays ink and sand.
- Float product screenshots with the layered soft shadow (0 28px 70px rgba(0,0,0,0.14)) over a muted painterly backdrop.
- Render borders as inset rings — inset 0 0 0 1px rgba(0,0,0,0.08) — rather than hard border lines.
Don't
- Don't use pure #ffffff as a surface or pure #000000 as text; the warmth of #f7f7f4 / #26251e is the whole identity.
- Don't bold headings to 600/700 or add uppercase tracking to display type.
- Don't introduce gradients, glass blur or coloured glow on buttons and cards.
- Don't scale the hero headline past ~36px on the homepage — the screenshot, not the type, is the hero.
- Don't give cards large radii (12px+) or outline every panel; flat fill with 4px corners is the rule.
- Don't let the orange accent spread into button fills, large backgrounds or icon sets.
- Don't shrink mobile screenshots to fit — crop them at the viewport edge instead.
{
"$name": "Cursor",
"$source": "https://cursor.com",
"$theme": "light",
"$generated": "inspiration library",
"color": {
"bg": {
"$type": "color",
"$value": "#f7f7f4",
"$description": "Page ground on every route; also the label colour inside the dark primary button"
},
"surface": {
"$type": "color",
"$value": "#f2f1ed",
"$description": "Section panels, cards, code blocks, elevated blocks — the second most dominant area on the page"
},
"surface-hover": {
"$type": "color",
"$value": "#ebeae5",
"$description": "Hover state on panels and wide feature cards"
},
"secondary": {
"$type": "color",
"$value": "#e6e5e0",
"$description": "Secondary/ghost pill button fill (Request a demo, Get Plus, Get started)"
},
"foreground": {
"$type": "color",
"$value": "#26251e",
"$description": "All body and heading text; also the fill of the primary CTA pill and logo"
},
"accent": {
"$type": "color",
"$value": "#f54e00",
"$description": "Brand accent — inline links, 'Most popular' badge text, warning state"
},
"accent-strong": {
"$type": "color",
"$value": "#c08532",
"$description": "Small action chips inside product-UI mockups (Build, Continue)"
},
"success": {
"$type": "color",
"$value": "#1f8a65",
"$description": "Diff additions and success states in code/agent UI"
},
"destructive": {
"$type": "color",
"$value": "#cf2d56",
"$description": "Diff removals, error states"
},
"inverse-surface": {
"$type": "color",
"$value": "#1c1c1c",
"$description": "Dark CLI window chrome and inverted screenshot panels"
},
"bg-dark": {
"$type": "color",
"$value": "#14120b",
"$description": "Page ground in the dark colour scheme"
}
},
"role": {
"background": {
"$type": "color",
"$value": "#f7f7f4"
},
"surface": {
"$type": "color",
"$value": "#f2f1ed"
},
"surface_raised": {
"$type": "color",
"$value": "#ebeae5"
},
"border": {
"$type": "color",
"$value": "rgba(38,37,30,0.10)"
},
"text": {
"$type": "color",
"$value": "#26251e"
},
"text_muted": {
"$type": "color",
"$value": "rgba(38,37,30,0.60)"
},
"primary": {
"$type": "color",
"$value": "#26251e"
},
"primary_text": {
"$type": "color",
"$value": "#f7f7f4"
},
"accent": {
"$type": "color",
"$value": "#f54e00"
},
"success": {
"$type": "color",
"$value": "#1f8a65"
},
"warning": {
"$type": "color",
"$value": "#f54e00"
},
"danger": {
"$type": "color",
"$value": "#cf2d56"
}
},
"fontFamily": {
"display": {
"$type": "fontFamily",
"$value": [
"CursorGothic",
"Inter",
"Helvetica Neue",
"Arial",
"sans-serif"
],
"$description": "Neutral humanist grotesque used for every heading and nearly all body text; headings stay at weight 400 with negative tracking."
},
"body": {
"$type": "fontFamily",
"$value": [
"CursorGothic",
"Inter",
"system-ui",
"sans-serif"
],
"$description": "16–17px body at 1.5 line-height with a faint +0.08px tracking; 500 only for small section labels."
},
"mono": {
"$type": "fontFamily",
"$value": [
"Berkeley Mono",
"JetBrains Mono",
"SFMono-Regular",
"Menlo",
"monospace"
],
"$description": "Terminal and CLI content, file paths, diffs inside product mockups."
},
"accent": {
"$type": "fontFamily",
"$value": [
"EB Garamond",
"Iowan Old Style",
"Georgia",
"serif"
],
"$description": "Appears only inside the simulated 'Acme Labs' browser preview — serif editorial flavour, never in chrome."
}
},
"typography": {
"display": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "72px",
"lineHeight": "1.1",
"fontWeight": 400,
"letterSpacing": "-0.03em"
}
},
"h1": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "52px",
"lineHeight": "1.15",
"fontWeight": 400,
"letterSpacing": "-0.025em"
}
},
"h2": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "36px",
"lineHeight": "1.2",
"fontWeight": 400,
"letterSpacing": "-0.02em"
}
},
"h3-hero": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "26px",
"lineHeight": "1.25",
"fontWeight": 400,
"letterSpacing": "-0.0125em"
}
},
"lead": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "22px",
"lineHeight": "1.3",
"fontWeight": 400,
"letterSpacing": "-0.005em"
}
},
"body": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "16px",
"lineHeight": "1.5",
"fontWeight": 400,
"letterSpacing": "0.005em"
}
},
"label": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "17px",
"lineHeight": "1.24",
"fontWeight": 500,
"letterSpacing": "0.005em"
}
},
"nav-small": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "14px",
"lineHeight": "1.4",
"fontWeight": 400,
"letterSpacing": "0"
}
},
"mono": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.mono}",
"fontSize": "12px",
"lineHeight": "1.45",
"fontWeight": 400,
"letterSpacing": "0"
}
}
},
"spacing": {
"1": {
"$type": "dimension",
"$value": "2px"
},
"2": {
"$type": "dimension",
"$value": "4px"
},
"3": {
"$type": "dimension",
"$value": "6px"
},
"4": {
"$type": "dimension",
"$value": "8px"
},
"5": {
"$type": "dimension",
"$value": "12px"
},
"6": {
"$type": "dimension",
"$value": "16px"
},
"7": {
"$type": "dimension",
"$value": "20px"
},
"8": {
"$type": "dimension",
"$value": "48px"
},
"9": {
"$type": "dimension",
"$value": "67px"
},
"10": {
"$type": "dimension",
"$value": "112px"
}
},
"radius": {
"cards-panels-screenshot-frames": {
"$type": "dimension",
"$value": "4px"
},
"chips-small-tiles-plugin-rows": {
"$type": "dimension",
"$value": "8px"
},
"dropdowns-popovers": {
"$type": "dimension",
"$value": "10px"
},
"search-field": {
"$type": "dimension",
"$value": "100px"
},
"buttons-all-ctas": {
"$type": "dimension",
"$value": "9999px"
}
},
"shadow": {
"hairline": {
"$type": "shadow",
"$value": "inset 0 0 0 1px rgba(0,0,0,0.08)",
"$description": "Default edge on cards, outline buttons, inputs — used instead of a border property"
},
"float": {
"$type": "shadow",
"$value": "0 28px 70px rgba(0,0,0,0.14), 0 14px 32px rgba(0,0,0,0.10), 0 0 0 1px rgba(38,37,30,0.10)",
"$description": "Large product screenshot windows lifted over the painted hero backdrop"
},
"popover": {
"$type": "shadow",
"$value": "0 10px 15px -3px rgba(0,0,0,0.10), 0 4px 6px -4px rgba(0,0,0,0.10)",
"$description": "Menus, tooltips and floating CLI panes"
},
"focus-ring": {
"$type": "shadow",
"$value": "0 0 0 2px #fcfcfc, 0 0 0 4px rgba(38,37,30,0.20)",
"$description": "Keyboard focus on interactive elements"
}
},
"component": {
"primary-pill-button": {
"kind": "button",
"background": "#26251e",
"color": "#f7f7f4",
"border": "1px solid #26251e",
"radius": "9999px",
"padding": "12.5px 21.6px",
"font_size": "16px",
"font_weight": 400,
"shadow": "none",
"hover": "background #111110; no lift, no scale",
"notes": "Height 43px. Label often carries a trailing glyph (⤓ for download, → for navigate) separated by ~6px. Only one per view."
},
"secondary-pill-button": {
"kind": "button",
"background": "#e6e5e0",
"color": "#26251e",
"border": "none",
"radius": "9999px",
"padding": "12.5px 21.6px",
"font_size": "16px",
"font_weight": 400,
"shadow": "none",
"hover": "background #ebeae5",
"notes": "Same metrics as primary so pairs align exactly; used for 'Request a demo →', 'Get Plus', 'Get started'."
},
"outline-nav-button": {
"kind": "button",
"background": "transparent",
"color": "#26251e",
"border": "1px solid rgba(38,37,30,0.20)",
"radius": "9999px",
"padding": "6px 14px",
"font_size": "14px",
"font_weight": 400,
"shadow": "none",
"hover": "background rgba(28,28,28,0.05)",
"notes": "Used for 'Contact sales' / 'Sign in' in the header, sitting left of the solid dark 'Download' pill."
},
"panel-card": {
"kind": "card",
"background": "#f2f1ed",
"color": "#26251e",
"border": "none",
"radius": "4px",
"padding": "16px",
"font_size": "16px",
"font_weight": 400,
"shadow": "none",
"hover": "background #ebeae5",
"notes": "The workhorse container: testimonial cards, plugin rows, pricing columns, feature panels. Flat fill, no border, tiny 4px radius. Wide variants use #ebeae5 at 13px padding."
},
"pill-search-input": {
"kind": "input",
"background": "#f0efea",
"color": "#26251e",
"border": "none",
"radius": "100px",
"padding": "8px 14px",
"font_size": "16px",
"font_weight": 400,
"shadow": "none",
"hover": "background #ebeae5; focus adds inset 0 0 0 1px rgba(38,37,30,0.20)",
"notes": "40px tall. Placeholder in muted ink at 60%. Borderless — the fill alone defines the field."
},
"fixed-header-nav": {
"kind": "nav",
"background": "#f7f7f4",
"color": "#26251e",
"border": "none",
"radius": "0px",
"padding": "0 24px",
"font_size": "14px",
"font_weight": 400,
"shadow": "none",
"hover": "link colour to rgba(38,37,30,0.60)",
"notes": "52px tall, position fixed, no border or blur — it simply shares the page ground. Logo left, centred link group, auth + CTA right."
},
"highlight-badge": {
"kind": "badge",
"background": "color-mix(in srgb, #f54e00 10%, transparent)",
"color": "#f54e00",
"border": "none",
"radius": "9999px",
"padding": "2px 8px",
"font_size": "12px",
"font_weight": 500,
"shadow": "none",
"hover": "none",
"notes": "'Most popular' marker on the pricing card; the only place the orange brand colour appears at display size."
},
"inline-arrow-link": {
"kind": "link",
"background": "transparent",
"color": "#f54e00",
"border": "none",
"radius": "0px",
"padding": "0",
"font_size": "16px",
"font_weight": 400,
"shadow": "none",
"hover": "underline",
"notes": "Section CTAs such as 'Learn about agentic development →' and 'Explore models ↗'; arrow glyph is part of the text."
}
}
}